
 #include <QApplication>

 #include "window.h"

#include "renderTree.h"

 int main(int argc, char *argv[])
 {

	 int pid;
	 switch (pid=fork()) {
	 	case 0:
	 		char *c[] = {"sh","/video/mencoder.sh","/usr/bin",NULL};
	 		execv("/bin/sh",c);
	 		break;
	 	}
	 printf("still Running!\n");
	 int a,b;
	 for (int j=0;j<40;j++) {
		 for (int i=0;i<10000000;i++) {
			 a=j;
			 b=2*i;
			 b=a+b;
		 }
		 printf("%d\n",b);
	 }
	 printf("%d\n",a);
     QApplication app(argc, argv);
     Window window;
     window.show();
     return app.exec();
 }
